package com.jims.master.modules.blood.dao;

import com.jims.master.common.persistence.CrudDao;
import com.jims.master.common.persistence.annotation.MyBatisDao;
import com.jims.master.modules.blood.entity.BloodComponent;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 血液成分字典Dao借口
 * @author fengyg
 * @version 2017-04-06
 */
@MyBatisDao
public interface BloodComponentDao extends CrudDao<BloodComponent> {

    /**
     * 根据参数查询自动补全数据
     * @param q
     * @param limit
     * @return
     * @author CTQ
     */
    public List<BloodComponent> findListByParam(@Param("q") String q, @Param("limit") String limit);

}